package com.lyn.plugin.entity;

import android.content.res.Resources;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

/**
 * @author Lyn
 * @date 2022/5/23
 * @desc
 */
public class PluginParameter {

    private Bundle savedInstanceState;

    private AppCompatActivity activity;

    private Resources resources;

    private String pluginPath;


    public PluginParameter() {
    }

    public PluginParameter(Bundle savedInstanceState, AppCompatActivity activity, Resources resources, String pluginPath) {
        this.savedInstanceState = savedInstanceState;
        this.activity = activity;
        this.resources = resources;
        this.pluginPath = pluginPath;
    }

    public Bundle getSavedInstanceState() {
        return savedInstanceState;
    }

    public void setSavedInstanceState(Bundle savedInstanceState) {
        this.savedInstanceState = savedInstanceState;
    }

    public AppCompatActivity getActivity() {
        return activity;
    }

    public void setActivity(AppCompatActivity activity) {
        this.activity = activity;
    }

    public Resources getResources() {
        return resources;
    }

    public void setResources(Resources resources) {
        this.resources = resources;
    }

    public String getPluginPath() {
        return pluginPath;
    }

    public void setPluginPath(String pluginPath) {
        this.pluginPath = pluginPath;
    }
}
